package cn.wolfcode.luowowo.search.service;

import cn.wolfcode.luowowo.search.domain.TicketTemplate;
import cn.wolfcode.luowowo.search.query.TicketSeachQuery;
import org.springframework.data.domain.Page;

import java.util.List;

public interface ITicketSearchService {
    /**
     * 初始化数据
     * @param ticketTemplate
     */
    void saveOrUpdate(TicketTemplate ticketTemplate);

    /**
     * 分页查询
     * @return
     */
    List <TicketTemplate> query(TicketSeachQuery qo);

    /**
     * 查询门票的特色
     * @return
     */
    List<String> selectTicketService();

    /**
     * 按照票数查询热售卖
     * @return
     */

    List<TicketTemplate> selectCommendTickets();


}
